package org.esky.study;

import java.io.IOException;

public class OpenBrowser {

	public static void main(String[] args) throws IOException {
		String url = "www.baidu.com";
		String path_IE = "c:\\Program Files\\Internet Explorer\\iexplore";
		String path_chrome = "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe";
        ProcessBuilder builder = new ProcessBuilder(path_IE, url);
        builder.start();
        builder = new ProcessBuilder(path_chrome, url);
        builder.start();
	}
}